FROM mcr.microsoft.com/playwright:v1.35.0-focal
WORKDIR /app
COPY . /app
EXPOSE 8087
RUN apt-get update
RUN apt-get install pip -y
RUN pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install -r requirements.txt
CMD ["/bin/bash", "/app/start.sh"]